package com.medical.client.model;

import javafx.beans.property.BooleanProperty;
import javafx.beans.property.SimpleBooleanProperty;

/**
 * @ClassName: Personal
 * @Description: TODO
 * @Author: JackyLee
 * @Date: 2024/6/3 22:37
 **/
public class Personal {
    private BooleanProperty selected = new SimpleBooleanProperty();
    private String tjserial;
    private String unitname;
    private String cjserial;
    private String name;
    private String sex;
    private String age;

    public BooleanProperty selectedProperty() {
        return selected;
    }

    public BooleanProperty setSelectedProperty(Boolean sd) {
        selected.set(sd);
        return selected;
    }

    public boolean isSelected() {
        return selected.get();
    }

    public void setSelected(boolean selected) {
        this.selected.set(selected);
    }

    public String getTjserial() {
        return tjserial;
    }

    public void setTjserial(String tjserial) {
        this.tjserial = tjserial;
    }

    public String getUnitname() {
        return unitname;
    }

    public void setUnitname(String unitname) {
        this.unitname = unitname;
    }

    public String getCjserial() {
        return cjserial;
    }

    public void setCjserial(String cjserial) {
        this.cjserial = cjserial;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
